package com.wunu.smartlock1.net.response;

import java.util.List;

/**
 * Created by admin on 2018/6/26.
 */

public class ULoginResponse {
    int code;
    String msg;
    List<Machine> machineList;
    String msgCode;
    String userId;
    boolean hasProfile;
    public String toString(){return "code: "+code+" msg: "+msg+" machineList: "+machineList+" msgCode: "+msgCode+" userId: "+userId+" hasProfile: "+hasProfile;}
    public void setMachineList(List<Machine> list){this.machineList = list;}
    public List<Machine> getMachineList(){return this.machineList;}
    public void setMsgCode(String a){this.msgCode = a;}
    public String getMsgCode(){return this.msgCode;}
    public void setUserId(String a){this.userId = a;}
    public String getUserId(){return this.userId;}
    public void setHasProfile(boolean a){this.hasProfile = a;}
    public  boolean isHasProfile(){return hasProfile;}
    public void setCode(int a){this.code = a;}
    public int getCode(){return this.code;}
    public void setMsg(String a){this.msg = a;}
    public String getMsg(){return this.msg;}


    public class Machine{
        String machineId;
        String prodectType;
        public void setMachineId(String a){this.machineId = a;}
        public String getMachineId(){return this.machineId;}
        public void setProdectType(String a){this.prodectType = a;}
        public String getProdectType(){return this.prodectType;}
        public String toString(){return " machineId: "+machineId+" prodectType: "+prodectType;}
    }
}
